package com.cf.spider.core.model;

/**
 * boot-awm-EnumJobState
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/11 上午 10:08
 */
public enum EnumJobState {

    //刚提交任务
    PREPARE("prepare"),

    //正在抓取
    DOING("doing"),

    //抓取失败
    ERROR("error"),

    //抓取成功
    SUCCESS("success"),
    
    //数据推送成功
    END("end");

    private String state;

    EnumJobState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
